package com.zuxia.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author laoli
 * @since 2024-11-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Order对象", description="")
@TableName("`order`")
@ToString
public class Order implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "订单编号")
    @TableId(value = "order_id", type = IdType.ASSIGN_ID)
    private String orderId;

    @ApiModelProperty(value = "拼团编号")
    private String groupId;

    @ApiModelProperty(value = "成团条件")
    private Integer groupCondition;

    @ApiModelProperty(value = "商品编号")
    private String shopId;

    @ApiModelProperty(value = "商品名称")
    private String shopName;

    @ApiModelProperty(value = "商品图片")
    private String shopImg;

    @ApiModelProperty(value = "单件原价")
    private BigDecimal shopPrice;

    @ApiModelProperty(value = "单件拼团价格")
    private BigDecimal groupPrice;

    @ApiModelProperty(value = "单件佣金")
    private BigDecimal kickBack;

    @ApiModelProperty(value = "拼团起始时间")
    private String groupStarTime;

    @ApiModelProperty(value = "拼团结束时间")
    private String groupEndTime;

    @ApiModelProperty(value = "订单状态")
    private Integer orderStatus;

    @ApiModelProperty(value = "团长编号")
    private String dumpId;

    @ApiModelProperty(value = "团长名称")
    private String userName;

    @ApiModelProperty(value = "团长电话")
    private String userPhone;

    @ApiModelProperty(value = "区名")
    private String communityName;


}
